using Admin2505.Application.Services;
using Microsoft.Extensions.DependencyInjection;

namespace Admin2505.Application;

public static class ServiceCollectionExtensions{
    public static IServiceCollection Addapplication (this IServiceCollection services)
    {
        services.AddScoped < AuthService >();
        services.AddScoped < UserService >();
        services.AddScoped <IRoleService,RoleService >();
        services.AddScoped < IPermissionService,PermissionService >();
         
        return services;
    }
}